<template>
  <div class="cinema-address">
    <p class="iconfont icon-ziyuan"></p>
    <p class="center">{{ address }}</p>
    <p class="iconfont icon-dianhua"></p>
  </div>
</template>

<script>
export default {
  name: 'CinemaAddress',
  props: ['address']
}
</script>

<style lang="scss" scoped>
.cinema-address {
  height: 0.5rem;
  background: #fff;
  padding-left: 0.15rem;
  display: flex;
  align-items: center;
  .icon-ziyuan {
    font-size: 20px;
    color: #cfd1d3;
  }
  .icon-dianhua {
    width: 0.67rem;
    text-align: center;
    font-size: 20px;
    color: #cfd1d3;
  }
  .center {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 0.1rem;
  }
}
</style>